<include file="../header" />
<body class="J_scroll_fixed">

<form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('OverdueVip/index')}">
    <div class="search_type cc mb10">
        <div class="mb10">
        <span class="mr20">
             店铺：
             {:getShopSelectHtml($shopId,'1')}
                    处理状态：
              {:getEnumSelectWidget($overdueStatus, 'status', $status, 1)}
            <button class="btn btn-primary">搜索</button>
            <a class="btn" href="{:U('OverdueVip/index')}">重置</a>
        </span>
        </div>
    </div>
</form>
<div class="wrap J_check_wrap">
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>编号</th>
            <th>所在店铺</th>
            <th>用户姓名</th>
            <th>到期日期</th>
            <th>指纹号</th>
            <th>卡号</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.shop_name}</td>
                <td>{$vo.vip_name}</td>
                <td>{$vo.end_time}</td>
                <td>{$vo.finger}</td>
                <td>{$vo.card_number}</td>
                <td>{:getEnumString($overdueStatus,$vo['status'])}</td>
                <td>
                    <if condition="$vo['status'] eq $overdueStatus['END']">
                        <else/>
                            <a class="btn" href="{:U('overdueVip/end',array('id'=>$vo['id']))}" >处理</a>
                    </if>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>